import axios from 'axios';

axios.defaults.baseURL = 'http://studapi.hzyplus.com/api';

export function getData(methods='get', path='') {
    return axios({
        method: methods,
        url: path
    })
}
